<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
</head>
<body>
 <table class="table-form" width="100%">
   <tbody>
      <tr>
	       <td width="15%" class="table-th">车牌号</td>
	       <td class="table-td" width="35%">
	            ${entity.licenseNum}
	       </td>
	       <td width="15%" class="table-th">驾驶员</td>
           <td class="table-td" width="35%">
           		 ${entity.driverName}
           </td>
      </tr>
      <tr>
           <td width="15%" class="table-th">联系电话</td>
           <td class="table-td" width="35%">
           		${entity.driverPhone }
           </td>
          
	      <td width="15%" class="table-th">预警类型</td>
	      <td class="table-td" width="35%">
	      	${entity.type} 
	      </td>
	</tr>
	<tr>
	      <td width="15%" class="table-th">预警开始时间</td>
	      <td class="table-td" width="35%">
	       <fmt:formatDate value="${entity.startTime}" pattern="yyyy-MM-dd hh:mm:ss"  /> 
	      </td>
           <td  width="15%" class="table-th">预警结束时间</td>
           <td class="table-td"  width="35%">
           	<fmt:formatDate value="${entity.endTime}" pattern="yyyy-MM-dd hh:mm:ss"  /> 
           </td>
     </tr>
      <tr>
           <td width="15%" class="table-th">所在方向</td>
           <td class="table-td" width="35%">
           		${entity.direct }
           </td>
          
	      <td width="15%" class="table-th">速度</td>
	      <td class="table-td" width="35%">
	      <c:choose>
	      	<c:when test="${not empty entity.speed }">
	      	${entity.speed} KM/H
	      	</c:when>
	      	<c:otherwise>0 KM/H</c:otherwise>
	      </c:choose>
	      </td>
	</tr>
	
	 <tr>
           <td width="15%" class="table-th">经度</td>
           <td class="table-td" width="35%">
           		${entity.lng }
           </td>
          
	      <td width="15%" class="table-th">纬度</td>
	      <td class="table-td" width="35%">
	       	${entity.lat }
	      </td>
	</tr>
	<tr>
          <td width="15%" class="table-th">位置描述</td>
          <td class="table-td" colspan="3">${entity.location }</td>
	</tr>
	<tr>
          <td width="15%" class="table-th">预警内容</td>
          <td class="table-td" colspan="3">${entity.warnContent }</td>
	</tr>
	 </tbody>
  </table>
  </body>
 </html>